// https://lotusapp.cplotus-gz.com
// http://localhost:8000

// 首页相关
export const INDEX_PAGE_URL = '/product/indexPage' // 获取首页对应顶部 tab 的内容
export const INDEX_TAB_URL = '/product/storeIndex' // 获取首页所有顶部 tab 信息 

export const PRODUCT_DETAIL_URL = '/product/salesClusterInfo' // 获取商品详细信息
export const ACTIVITY_CONTENT_URL = '/product/activityProductClusters' // 活动页面详细信息
export const PLUS_URL = '/product/plus/getPlus' // plus 页面详情
export const CATALOG_URL = '/product/salesClusterListByCatalog' // 获取某分类目录(即对应分类对应的商品)
export const COUPON_CENTER_URL = '/couponcenter/v2/coupon/list' // 获取优惠券信息

// 分类相关
export const CATEGORY_ITEM_URL = '/product/frontCategory/getFirstFrontCategoryList' // 获取所有分类包括子分类
export const CATEGORY_LIST_URL = '/product/frontCategory/searchProductCluster' // 获取对应分类的商品列表

// 购物车相关
export const GET_USER_CART_COUNT_URL = '/order/getCartCount'
export const GET_USER_CART_LIST_URL = '/order/getCartDetail'
export const ADD_USER_CART_LIST_URL = '/order/addProductClusterToCart'
export const UPDATE_USER_CART_LIST_URL = '/order/updateCart'
export const DELETE_USER_CART_LIST_URL = '/order/deleteCartItem'
// 扫码购相关
export const SCAN_CODE_GOODS_INFO_URL = '/lotusapp/goods/info' // 扫码成功后根据条形码获取该商品信息
export const SCAN_CODE_ADD_GOODS_URL = '/lotusapp/cart/addGoods' // 添加扫码购商品
export const SCAN_CODE_DELETE_GOODS_URL = '/lotusapp/cart/deleteGoods' // 删除扫码购商品
export const SCAN_CODE_UPDATE_GOODS_URL = '/lotusapp/cart/updateGoods' // 更新/修改扫码购商品
export const SCAN_CODE_GET_GOODS_URL = '/lotusapp/cart/detail' // 获取/查看所有扫码购商品
export const SCAN_CODE_ADD_BAG_URL = '/lotusapp/cart/addBag' // 扫码购添加购物袋
// 扫码购订单相关
export const SCAN_CODE_ORDER_LIST_URL = '/lotusapp/account/list' // 获取扫码购订单
export const SCAN_CODE_ORDER_DETAIL_URL = '/lotusapp/account/detail' // 获取扫码购订单详情

// 门店/位置相关
export const ALL_STORE_LOCATION_URL = '/lotusapp/store/getAreaList' // 获取所有门店信息
export const USER_LOCATION_STORE_URL = '/lotusapp/store/detail' // 获取用户附近门店信息
export const USER_NEARBY_STORE_URL = '/api-1.8/outlet/get5KmStoreInfo4Xcx' // 获取用户附近5公里门店信息
export const USER_RECEIVE_ADDRESS_URL = '/lotusapp/receiveAddress/getReceiveAddressList' // 获取用户收货地址
export const USER_LOCATION_TIPS_URL = '/v3/assistant/inputtips' // 获取关键词所有地址提示 https://restapi.amap.com
export const USER_COORDINATE_URL = '/ws/location/v1/ip' // 根据用户ip获取用户经纬度 https://apis.map.qq.com
export const USER_LOCATION_URL = '/v3/geocode/regeo' // 获取用户所在位置信息 https://restapi.amap.com

// 搜索相关
export const HOT_SEARCHING_URL = '/product/hotSearching'
export const KEY_WORD_TIPS_URL = '/product/keywordTips' // 搜索时关键词提醒
export const SEARCH_WORD_RESULT_URL = '/product/searchProductCluster' // 获取搜索关键词对应的商品列表

// 用户相关
export const USER_SESSION_URL = '/user/getMinaSession' // 获取用户 session
export const USER_LOGIN_URL = '/user/minaLogin' // 用户登录接口
export const USER_LOGOUT_URL = '/user/minaLogout' // 用户登出接口
